//
//  MYRollCollectionViewCell.swift
//  爱鲜蜂·
//
//  Created by apple on 2016/12/7.
//  Copyright © 2016年 apple. All rights reserved.
//

import UIKit

class MYRollCollectionViewCell: UICollectionViewCell {


    override init(frame: CGRect) {
        super.init(frame: frame)
        setupUI()
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }

    private func setupUI(){
       contentView.addSubview(iconView)
        iconView.snp_makeConstraints { (make) in
            make.edges.equalTo(contentView)
        }
        iconView.backgroundColor = MYRandomColor()
    }

    private lazy var iconView = UIImageView()
}
